/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.inv.report.entity;

import com.thinkgem.jeesite.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 分析报告管理功能Entity
 * @author yangh
 * @version 2017-11-23
 */
public class InvReport extends DataEntity<InvReport> {
	
	private static final long serialVersionUID = 1L;
	private User user;		// 归属用户
	private String repName;		// 报告名
	private String repFile;		// 文件路径
	
	public InvReport() {
		super();
	}

	public InvReport(String id){
		super(id);
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	@Length(min=0, max=100, message="报告名长度必须介于 0 和 100 之间")
	public String getRepName() {
		return repName;
	}

	public void setRepName(String repName) {
		this.repName = repName;
	}
	
	@Length(min=0, max=512, message="文件路径长度必须介于 0 和 512 之间")
	public String getRepFile() {
		return repFile;
	}

	public void setRepFile(String repFile) {
		this.repFile = repFile;
	}
	
}